package com.ssy.lingxi.after.sale.api.model.vo.request;

import com.ssy.lingxi.common.model.dto.UserLoginCacheDTO;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 审核发货单VO
 * @author 伍将
 * @date 2020/12/28
 * @version 2.0.0
 */
public class VerifyDeliveryVO implements Serializable {

    private static final long serialVersionUID = -129580703991459220L;
    /**
     * 数据id(发货单/入库单)
     */
    @NotNull(message = "数据id要大于0")
    @Positive(message = "数据id要大于0")
    private Long dataId;

    /**
     * 操作会员
     */
    @NotNull(message = "操作会员不能为空")
    @Valid
    private UserLoginCacheDTO member;

    public Long getDataId() {
        return dataId;
    }

    public void setDataId(Long dataId) {
        this.dataId = dataId;
    }

    public UserLoginCacheDTO getMember() {
        return member;
    }

    public void setMember(UserLoginCacheDTO member) {
        this.member = member;
    }
}
